package cn.com.self.apis.portal.mapper;

import cn.com.self.apis.files.entity.Files;
import cn.com.self.apis.portal.entity.DatatypeEntity;
import cn.com.self.apis.portal.entity.RequirementsEntity;
import cn.com.self.apis.portal.entity.dto.RequirementsDTO2;
import cn.com.self.apis.portal.util.ICustomPage;
import cn.com.self.apis.portal.util.CustomPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author CRL
 */
@Mapper
public interface RequirementsMapper extends BaseMapper<RequirementsEntity> {

    List<Files> findFiles (String objId);

    ICustomPage<RequirementsDTO2> queryRequirementsEntityList(CustomPage<RequirementsDTO2> page, @Param("queryParams") Map<String, Object> queryParams);

}

